#include <optixu/optixu_math_namespace.h>

struct RayData
{ 
  optix::uint   depth;
	float3 position;
	float3 normal;
};

struct PhotonRec
{
	float3 pos;
	float3 normal;
	float3 inc_dir;
	float3 energy;
	float4 pad;
};